package cn.itcast.service;


import cn.itcast.pojo.ItemDoc;
import cn.itcast.pojo.PageResult;
import cn.itcast.pojo.RequestParams;
import com.hmall.common.dto.PageDTO;


import java.io.IOException;
import java.util.List;
import java.util.Map;


public interface ISearchService   {


    List<String> getSuggestion(String key);

    Map<String, List<String>> getFilters(RequestParams params);

    PageDTO<ItemDoc> search(RequestParams params) throws IOException;
}
